/*
* qiudot.com Inc.
* Copyright (c) 2019 All Rights Reserved.
* create by qiudot
* date:2019-10-15
*/
package com.lora.entity;


import com.acooly.core.common.domain.AbstractEntity;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.validation.constraints.Size;

/**
 * 门禁刷卡记录表 Entity
 *
 * @author qiudot
 * Date: 2019-10-15 20:17:31
 */
@Entity
@Table(name = "entrance_guard")
@Getter
@Setter
public class EntranceGuard extends AbstractEntity {

    /**
     * 刷卡地址
     */
	@Size(max = 50)
    private String address;

    /**
     * 卡号
     */
	@Size(max = 20)
    private String cardnum;

    /**
     * 部门
     */
	@Size(max = 30)
    private String department;

    /**
     * 工号
     */
	@Size(max = 30)
    private String jobnumber;

    /**
     *  姓名
     */
	@Size(max = 30)
    private String name;

    /**
     * reasonno
     */
	@Size(max = 30)
    private String reasonno;

    /**
     * rec
     */
	@Size(max = 64)
    private String rec;

    /**
     * 刷卡状态
     */
	@Size(max = 40)
    private String state;

    /**
     * 刷卡时间
     */
	@Size(max = 40)
    private String time;

    /**
     * 刷卡方式进或出
     */
	@Size(max = 20)
    private String way;

    private String sn;

}
